package com.max.back.pharmacy.form;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class DrugForm {


    private String id;

    @NotNull
    private String name;

    private String specification;
    @NotNull
    private String manufacturer;

    private String usageDosage;
    @NotNull
    private Integer unit;

    @NotNull
    private Double price;

    private Integer drugType;

    private Integer inventory;

    private Boolean deleted;

    private Date gmtCreate;

    private Date gmtModify;
}
